package com.demo.livemanagement.mapper;


import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.demo.livemanagement.domain.LiveInformation;
import com.demo.livemanagement.livedelayqueue.LiveDelayInfo;

@Mapper
public interface LiveInformationMapper {
	int deleteByPrimaryKey(Long mainId);

	int insert(LiveInformation record);

	Long insertSelective(LiveInformation record);

	LiveInformation selectByPrimaryKey(Long mainId);

	int updateByPrimaryKeySelective(LiveInformation record);

	int updateByPrimaryKey(LiveInformation record);

	Long checkLives(String liveTitle);
	
	List<LiveInformation> selectliveInformationList(Date d);
	
	List<LiveDelayInfo> selectliveInformationListDelay(Date d);
}